Skip to content

Conversation

@shamil-gadelshin
Copy link
Contributor

@shamil-gadelshin shamil-gadelshin commented May 27, 2020

Changes

  • incapsulate storage fields MemberIdsByRootAccountId and MemberIdsByControllerAccountId. Remove public access to those fields.
  • rename Profile to Membership, and storage field MemberProfile to MembershipById.
  • rename MembersCreated => NextMemberId.
  • rename Handles => MemberIdByHandle.
  • drop UserInfo.
  • CheckedUserInfo was renamed to the ValidatedUserInfo and kept for simplicity as a private internal structure.
  • drop Option wrapper for around value types of maps
  • remove roles from the membership module
  • remove roles from the content working group module
  • move ActorId from membership to the content working group
  • add MemberId to the content working group Lead
  • move Role from membership to roles module

@shamil-gadelshin shamil-gadelshin added refactoring membership-pallet Membership runtime module labels May 27, 2020
This was linked to issues May 27, 2020
- remove roles from the membership module
- remove roles from the content working group module
- move ActorId from membership to the content working group
- add MemberId to te content working group Lead
- update tests
- delete commented code
@shamil-gadelshin shamil-gadelshin requested a review from bedeho May 28, 2020 15:27
@shamil-gadelshin shamil-gadelshin marked this pull request as ready for review May 28, 2020 15:27
Change call from ensure_is_controller_account_for_member() to the ensure_member_controller_account_signed().
@bedeho bedeho merged commit 7841847 into Joystream:membership_cleanup Jun 2, 2020
@bedeho bedeho mentioned this pull request Jul 20, 2020
This was referenced May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

membership-pallet Membership runtime module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simplify membership module Cleanup membershp module

2 participants